package com.mytoutou.playermanager.player_manager.manager;


import com.mytoutou.playermanager.player_manager.meta.MetaData;
import com.mytoutou.playermanager.player_manager.ui.VideoPlayerView;

/**
 * This is basic interface for Items in Adapter of the list. Regardless of is it {@link ohos.agp.components.ListContainer
 * or {@link ohos.agp.components.ListContainer}
 */
public interface VideoItem {
    void playNewVideo(MetaData currentItemMetaData, VideoPlayerView player, VideoPlayerManager<MetaData> videoPlayerManager);

    void stopPlayback(VideoPlayerManager videoPlayerManager);
}
